<?

if ((int)param('edit')) {
	$this->template .= '-edit';
} else

if ((int)param('photoedit')) {
	$this->template .= '-photoedit';
} else

if ((int)param('photo')) {
	$this->template .= '-photo';
} else

if ((int)param('photo2')) {
	$this->template .= '-photo2';
} else

if (param('text')) {
	$this->template .= '-text';
} else


// gallery parsing

if ((int)param('albumedit')) {
	$this->template .= '-albumedit';
} else

if ((int)param('photo')) {
	$this->template .= '-photo';
} else

if ((int)param('album')) {
	$this->template .= '-album';
} else

if ((int)param('gallery')) {
	$this->template .= '-gallery';
}


?>